<template>
  <div class="app">
    <header class="header">管理系统</header>
    <section class="main">
      <aside class="aside">
        <nuxt-link to="/manage/parent">用户管理</nuxt-link>
        <nuxt-link to="/manage/parent/msbd">面试宝典</nuxt-link>
        <nuxt-link to="/manage/parent/classify">类别管理</nuxt-link>
      </aside>
      <section class="app-body">
        <Nuxt />
      </section>
    </section>
    <footer class="footer">footer</footer>
  </div>
</template>

<script>
export default {};
</script>
<style>
html,
body,
#__nuxt,
#__layout,
.app {
  height: 100%;
}
</style>

<style scoped>
.app {
  display: flex;
  flex-direction: column;
}

.header {
  height: 60px;
  background-color: #ccc;
}

.main {
  display: flex;
  flex-grow: 1;
}

.aside {
  width: 150px;
  background-color: rgb(151, 101, 101);
}

.aside a {
  display: block;
}

.app-body {
  flex-grow: 1;
  background-color: rgb(197, 245, 165);
}

.footer {
  height: 60px;
  background-color: rgb(192, 255, 255);
}
</style>